<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of qcm
 *
 * @author didile
 */
class RubriqueView {
public $tpl;
 
   public function __construct() {
        $this->tpl = new SmartyBC();
        $rubriques = Rubrique::getAll();
        $rub_controller = new RubriqueController();
        $this->tpl->assign("rubriques",$rubriques);
   }

   public function __toString() {
       
   }
   
   public function display($tpl_name){
        $this->tpl->display($tpl_name);
   }
}

?>
